package com.ylz.sjzx.sio.common.core.exception;

/**
 * Created with IntelliJ IDEA.
 * <p> Description:
 * <p>
 * Date: 17/2/5
 * Time: 下午8:52
 */
public class InterceptorInterruptException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    protected final String message;

    public InterceptorInterruptException(String message) {
        this.message = message;
    }

    public InterceptorInterruptException(String message, Throwable e) {
        super(message, e);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
